
exports.arr = [
    {
        path: '/organization',
        name: 'organization',
        meta: {title: '首页'},
        component: function(r){
            require(['@/views/organization/index.vue'], r)
        },
        children: [
            {path: '/organization/dept-list',
                name: 'organizationDeptList',
                meta: {title: '组织架构'},
                component: function(r){
                    require(['@/views/organization/dept-list.vue'], r)
                }
            },
            {path: '/organization/member-list',
                name: 'organizationMemberList',
                meta: {title: '员工管理'},
                component: function(r){
                    require(['@/views/organization/member-list.vue'], r)
                }
            },
            {path: '/organization/role-list',
                name: 'organizationRoleList',
                meta: {title: '角色列表'},
                component: function(r){
                    require(['@/views/organization/role-list.vue'], r)
                }
            },

            {path: '/organization/role-info',
                name: 'organizationRoleInfo',
                meta: {title: '角色详情'},
                component: function(r){
                    require(['@/views/organization/role-info.vue'], r)
                }
            },

            {path: '/organization/permissions-detail',
                name: 'organizationPermissionsDetail',
                meta: {title: '权限明细'},
                component: function(r){
                    require(['@/views/organization/permissions-detail.vue'], r)
                }
            },

            {path: '/organization/distribute-power',
                name: 'organizationDistributePower',
                meta: {title: '分配权限'},
                component: function(r){
                    require(['@/views/organization/distribute-power.vue'], r)
                }
            },

            // {
            //     path: '/organization/add-staff',
            //     name: 'organizationAddStaff',
            //     meta: {title: '添加员工'},
            //     component: function(r){
            //         require(['@/views/organization/add-staff.vue'], r)
            //     }
            // },

            // {
            //     path: '/organization/import-excel',
            //     name: 'organizationAddStaff',
            //     meta: {title: 'excel导入'},
            //     component: function(r){
            //         require(['@/views/organization/import-excel.vue'], r)
            //     }
            // },

            // {
            //     path: '/organization/enterprise-weChat',
            //     name: 'organizationEnterpriseWeChat',
            //     meta: {title: '企业微信导入'},
            //     component: function(r){
            //         require(['@/views/organization/enterprise-weChat.vue'], r)
            //     }
            // },

            // {
            //     path: '/organization/no-department',
            //     name: 'organizationNoDepartment',
            //     meta: {title: '无部门员工'},
            //     component: function(r){
            //         require(['@/views/organization/no-department.vue'], r)
            //     }
            // },

            {
                path: '/organization/create-role',
                name: 'organizationNoCreateRole',
                meta: {title: '创建角色'},
                component: function(r){
                    require(['@/views/organization/create-role.vue'], r)
                }
            }
        ]
    }

]

